package com.matrix.api.marketing.dto;

import lombok.Builder;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author 有点甜
 * @since 2025/8/7
 */
@Data
@Builder
public class DynamicCouponGrantDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    private Long targetUserId;
    private Long merchantUserId;
    private Long shopId;

    private String title;
    private CouponType couponType;
    private BigDecimal thresholdAmount;
    private BigDecimal discountAmount;

    public enum CouponType {
        THRESHOLD,
        NO_THRESHOLD
    }
}
